import React from 'react'
import ReactDOM from 'react-dom/client'
import { RouterProvider } from 'react-router-dom'
import { ConfigProvider } from '@arco-design/web-react'
import { globalRouters } from '@/router'

import '@arco-design/web-react/dist/css/arco.css'

// 全局样式
import '@/styles/index.less'

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <ConfigProvider>
    <RouterProvider router={globalRouters} />
  </ConfigProvider>
)
